<!DOCTYPE html>
<html lang="en" dir="ltr">
    <head><meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'><meta name='description' content=" # 操作系统底层工作的整体认识 # 多线程的意义和使用 # MESI缓存一直协议详解 # 并发编程带来的挑战 # 线程基础阶段性总结和扩展 # 理解JUC中ReentrantLock底层设计 # 常见并发工具的使用及原理解析 # 线程池的基本实现原理 # 探索线程安全性背后的本质之volatile # JMM&amp;synchronized&amp;volatile详解 # synchronized详解 # 深入分析阻塞队列以及原子操作等并发工具 # 抽象队列同步器AQS应用Lock详解 # 抽象队列同步器AQS应用之BlockingQueue详解 # Tools&amp;CountDownLatch&amp;Semaphore原理与应用 # ConcurrentHashMap 的初步使用及场景 # Collections之Map&amp;List&amp;Set详解 # Atomic&amp;Unsafe魔法类详解 # Executor线程池原理与源码解读 # 定时任务&amp;定时线程池 # Future&amp;ForkJoin框架原理分析 # 无锁并发框架-Disruptor ">
<title>JAVA并发编程-from有道云笔记</title>

<link rel='canonical' href='http://laoxia.cc/p/java%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B-from%E6%9C%89%E9%81%93%E4%BA%91%E7%AC%94%E8%AE%B0/'>

<link rel="stylesheet" href="/scss/style.min.8e60baf4cd3fc55968717a6e39762f4d28ed7ef6007566b6c7970ad0fe907198.css"><meta property='og:title' content="JAVA并发编程-from有道云笔记">
<meta property='og:description' content=" # 操作系统底层工作的整体认识 # 多线程的意义和使用 # MESI缓存一直协议详解 # 并发编程带来的挑战 # 线程基础阶段性总结和扩展 # 理解JUC中ReentrantLock底层设计 # 常见并发工具的使用及原理解析 # 线程池的基本实现原理 # 探索线程安全性背后的本质之volatile # JMM&amp;synchronized&amp;volatile详解 # synchronized详解 # 深入分析阻塞队列以及原子操作等并发工具 # 抽象队列同步器AQS应用Lock详解 # 抽象队列同步器AQS应用之BlockingQueue详解 # Tools&amp;CountDownLatch&amp;Semaphore原理与应用 # ConcurrentHashMap 的初步使用及场景 # Collections之Map&amp;List&amp;Set详解 # Atomic&amp;Unsafe魔法类详解 # Executor线程池原理与源码解读 # 定时任务&amp;定时线程池 # Future&amp;ForkJoin框架原理分析 # 无锁并发框架-Disruptor ">
<meta property='og:url' content='http://laoxia.cc/p/java%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B-from%E6%9C%89%E9%81%93%E4%BA%91%E7%AC%94%E8%AE%B0/'>
<meta property='og:site_name' content='大国重器'>
<meta property='og:type' content='article'><meta property='article:section' content='Post' /><meta property='article:published_time' content='2018-11-11T00:00:00&#43;00:00'/><meta property='article:modified_time' content='2018-11-11T00:00:00&#43;00:00'/>
<meta name="twitter:title" content="JAVA并发编程-from有道云笔记">
<meta name="twitter:description" content=" # 操作系统底层工作的整体认识 # 多线程的意义和使用 # MESI缓存一直协议详解 # 并发编程带来的挑战 # 线程基础阶段性总结和扩展 # 理解JUC中ReentrantLock底层设计 # 常见并发工具的使用及原理解析 # 线程池的基本实现原理 # 探索线程安全性背后的本质之volatile # JMM&amp;synchronized&amp;volatile详解 # synchronized详解 # 深入分析阻塞队列以及原子操作等并发工具 # 抽象队列同步器AQS应用Lock详解 # 抽象队列同步器AQS应用之BlockingQueue详解 # Tools&amp;CountDownLatch&amp;Semaphore原理与应用 # ConcurrentHashMap 的初步使用及场景 # Collections之Map&amp;List&amp;Set详解 # Atomic&amp;Unsafe魔法类详解 # Executor线程池原理与源码解读 # 定时任务&amp;定时线程池 # Future&amp;ForkJoin框架原理分析 # 无锁并发框架-Disruptor ">
    <link rel="shortcut icon" href="/favicon.png" />

    </head>
    <body class="
    article-page
    ">
    <script>
        (function() {
            const colorSchemeKey = 'StackColorScheme';
            if(!localStorage.getItem(colorSchemeKey)){
                localStorage.setItem(colorSchemeKey, "auto");
            }
        })();
    </script><script>
    (function() {
        const colorSchemeKey = 'StackColorScheme';
        const colorSchemeItem = localStorage.getItem(colorSchemeKey);
        const supportDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches === true;

        if (colorSchemeItem == 'dark' || colorSchemeItem === 'auto' && supportDarkMode) {
            

            document.documentElement.dataset.scheme = 'dark';
        } else {
            document.documentElement.dataset.scheme = 'light';
        }
    })();
</script>
<div class="container main-container flex on-phone--column extended"><aside class="sidebar left-sidebar sticky ">
    <button class="hamburger hamburger--spin" type="button" id="toggle-menu" aria-label="Toggle Menu">
        <span class="hamburger-box">
            <span class="hamburger-inner"></span>
        </span>
    </button>

    <header>
        
            
            <figure class="site-avatar">
                <a href="/">
                
                    
                    
                    
                        
                        <img src="/img/avatar_hue06bcb413e5a9cdb6ce4bf9a5a6157c6_4250212_300x0_resize_box_3.png" width="300"
                            height="188" class="site-logo" loading="lazy" alt="Avatar">
                    
                
                </a>
                
                    <span class="emoji">🍥</span>
                
            </figure>
            
        
        
        <div class="site-meta">
            <h1 class="site-name"><a href="/">大国重器</a></h1>
            <h2 class="site-description">The pillars of a great power. Support the backbone of a great power with code.</h2>
        </div>
    </header><ol class="menu" id="main-menu">
        
        
        
        <li >
            <a href='/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <polyline points="5 12 3 12 12 3 21 12 19 12" />
  <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
  <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
</svg>



                
                <span>Home</span>
            </a>
        </li>
        
        
        <li >
            <a href='/archives/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-archive" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <rect x="3" y="4" width="18" height="4" rx="2" />
  <path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10" />
  <line x1="10" y1="12" x2="14" y2="12" />
</svg>



                
                <span>Archives</span>
            </a>
        </li>
        
        
        <li >
            <a href='/search/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-search" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="10" cy="10" r="7" />
  <line x1="21" y1="21" x2="15" y2="15" />
</svg>



                
                <span>Search</span>
            </a>
        </li>
        
        
        <li >
            <a href='/links/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" />
  <path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" />
</svg>



                
                <span>Links</span>
            </a>
        </li>
        
        
        <li >
            <a href='/about/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-user" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="7" r="4" />
  <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
</svg>



                
                <span>About</span>
            </a>
        </li>
        
        <li class="menu-bottom-section">
            <ol class="menu">

                
                    <li id="dark-mode-toggle">
                        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="8" cy="12" r="2" />
  <rect x="2" y="6" width="20" height="12" rx="6" />
</svg>



                        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-right" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="16" cy="12" r="2" />
  <rect x="2" y="6" width="20" height="12" rx="6" />
</svg>



                        <span>Dark Mode</span>
                    </li>
                
            </ol>
        </li>
    </ol>
</aside>

    <aside class="sidebar right-sidebar sticky">
        
            
                
    <section class="widget archives">
        <div class="widget-icon">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-hash" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <line x1="5" y1="9" x2="19" y2="9" />
  <line x1="5" y1="15" x2="19" y2="15" />
  <line x1="11" y1="4" x2="7" y2="20" />
  <line x1="17" y1="4" x2="13" y2="20" />
</svg>



        </div>
        <h2 class="widget-title section-title">Table of contents</h2>
        
        <div class="widget--toc">
            <nav id="TableOfContents">
  <ol>
    <li><a href="#操作系统底层工作的整体认识httpnoteyoudaocomnoteshareiddfc6d351a23507db75518b61585070bfsub7351be50fe9141e696f64265d46d7df1"><a href="http://note.youdao.com/noteshare?id=dfc6d351a23507db75518b61585070bf&amp;sub=7351BE50FE9141E696F64265D46D7DF1">操作系统底层工作的整体认识</a></a></li>
    <li><a href="#多线程的意义和使用httpnoteyoudaocomnoteshareid417936b7bacfa6f42158da7a3394f4f5sub9f7e10adf5e34cfe87e775e55e7aff7d"><a href="http://note.youdao.com/noteshare?id=417936b7bacfa6f42158da7a3394f4f5&amp;sub=9F7E10ADF5E34CFE87E775E55E7AFF7D">多线程的意义和使用</a></a></li>
    <li><a href="#mesi缓存一直协议详解httpnoteyoudaocomnoteshareid8b5b43ddd34924e002f7eef917ed9e03subed0ed32508fb430ab7c397cd976890d4"><a href="http://note.youdao.com/noteshare?id=8b5b43ddd34924e002f7eef917ed9e03&amp;sub=ED0ED32508FB430AB7C397CD976890D4">MESI缓存一直协议详解</a></a></li>
    <li><a href="#并发编程带来的挑战httpnoteyoudaocomnoteshareid8af428614036bc7bfd67778a7aac9004sub2b393bdf17304927961ea8006c4279f5"><a href="http://note.youdao.com/noteshare?id=8af428614036bc7bfd67778a7aac9004&amp;sub=2B393BDF17304927961EA8006C4279F5">并发编程带来的挑战</a></a></li>
    <li><a href="#线程基础阶段性总结和扩展httpnoteyoudaocomnoteshareid799bc7811ed04268d0488f56503aa378sub0aa06780832e4ec08930aaca65fa0566"><a href="http://note.youdao.com/noteshare?id=799bc7811ed04268d0488f56503aa378&amp;sub=0AA06780832E4EC08930AACA65FA0566">线程基础阶段性总结和扩展</a></a></li>
    <li><a href="#理解juc中reentrantlock底层设计httpnoteyoudaocomnoteshareid16a3c4470cf5f0c6634d0b9b33f5a572sub6ace8d522e7f4e478e67d881b16cc940"><a href="http://note.youdao.com/noteshare?id=16a3c4470cf5f0c6634d0b9b33f5a572&amp;sub=6ACE8D522E7F4E478E67D881B16CC940">理解JUC中ReentrantLock底层设计</a></a></li>
    <li><a href="#常见并发工具的使用及原理解析httpnoteyoudaocomnoteshareid95a2a8a07e04ec0e6a3b4dc401eaff6csubc64878595b88400c94a64e67013fb4ec"><a href="http://note.youdao.com/noteshare?id=95a2a8a07e04ec0e6a3b4dc401eaff6c&amp;sub=C64878595B88400C94A64E67013FB4EC">常见并发工具的使用及原理解析</a></a></li>
    <li><a href="#线程池的基本实现原理httpnoteyoudaocomnoteshareid081ca1044446ee0722425e8928061e3asubd2fc9613297d4fe69d23d6d8b3570750"><a href="http://note.youdao.com/noteshare?id=081ca1044446ee0722425e8928061e3a&amp;sub=D2FC9613297D4FE69D23D6D8B3570750">线程池的基本实现原理</a></a></li>
    <li><a href="#探索线程安全性背后的本质之volatilehttpnoteyoudaocomnoteshareid0573da55c5f7d98640a529e31bcc5a3fsub0f196c2d941c4a9a8fa080d6886a5d2e"><a href="http://note.youdao.com/noteshare?id=0573da55c5f7d98640a529e31bcc5a3f&amp;sub=0F196C2D941C4A9A8FA080D6886A5D2E">探索线程安全性背后的本质之volatile</a></a></li>
    <li><a href="#jmmsynchronizedvolatile详解httpnoteyoudaocomnoteshareid32b34fbb56014f104b697b0f9a6635b1sub94a8e961309b434abb7fc6c40f2e3474"><a href="http://note.youdao.com/noteshare?id=32b34fbb56014f104b697b0f9a6635b1&amp;sub=94A8E961309B434ABB7FC6C40F2E3474">JMM&amp;synchronized&amp;volatile详解</a></a></li>
    <li><a href="#synchronized详解httpnoteyoudaocomnoteshareida90cacc6a4ef78525a5d3ea5fed31b92sub7cc0c1ee24f64b34a5dd8b819d5ed085"><a href="http://note.youdao.com/noteshare?id=a90cacc6a4ef78525a5d3ea5fed31b92&amp;sub=7CC0C1EE24F64B34A5DD8B819D5ED085">synchronized详解</a></a></li>
    <li><a href="#深入分析阻塞队列以及原子操作等并发工具httpnoteyoudaocomnoteshareide6132e6e34985823202996102c0900afsub18ded72a769149d49516e31b87339a8f"><a href="http://note.youdao.com/noteshare?id=e6132e6e34985823202996102c0900af&amp;sub=18DED72A769149D49516E31B87339A8F">深入分析阻塞队列以及原子操作等并发工具</a></a></li>
    <li><a href="#抽象队列同步器aqs应用lock详解httpnoteyoudaocomnoteshareid77ccc3b07d38ee0bd45ebef777a49aa7subb5b40d5346494022ad1b86115cdb1f6d"><a href="http://note.youdao.com/noteshare?id=77ccc3b07d38ee0bd45ebef777a49aa7&amp;sub=B5B40D5346494022AD1B86115CDB1F6D">抽象队列同步器AQS应用Lock详解</a></a></li>
    <li><a href="#抽象队列同步器aqs应用之blockingqueue详解httpnoteyoudaocomnoteshareide3bf18850025c4be139e66a2b5b7a8fasub69ac5785225246e1b953e71d30eeeb27"><a href="http://note.youdao.com/noteshare?id=e3bf18850025c4be139e66a2b5b7a8fa&amp;sub=69AC5785225246E1B953E71D30EEEB27">抽象队列同步器AQS应用之BlockingQueue详解</a></a></li>
    <li><a href="#toolscountdownlatchsemaphore原理与应用httpnoteyoudaocomnoteshareid8d59f7aa91e8c6a203370e2b6aa4f115subfd2b7475469b427e9d0e60298a581ca7"><a href="http://note.youdao.com/noteshare?id=8d59f7aa91e8c6a203370e2b6aa4f115&amp;sub=FD2B7475469B427E9D0E60298A581CA7">Tools&amp;CountDownLatch&amp;Semaphore原理与应用</a></a></li>
    <li><a href="#concurrenthashmap-的初步使用及场景httpnoteyoudaocomnoteshareid71c9ed6664e9f54166b58a33d4e45504sub1d77388d9014469fba6b9da7c476ed2e"><a href="http://note.youdao.com/noteshare?id=71c9ed6664e9f54166b58a33d4e45504&amp;sub=1D77388D9014469FBA6B9DA7C476ED2E">ConcurrentHashMap 的初步使用及场景</a></a></li>
    <li><a href="#collections之maplistset详解httpnoteyoudaocomnoteshareid748d1ef2e0937ee16016e2edd06d37c1subd6ebec28d3ae4995ac6b81073dcde9ba"><a href="http://note.youdao.com/noteshare?id=748d1ef2e0937ee16016e2edd06d37c1&amp;sub=D6EBEC28D3AE4995AC6B81073DCDE9BA">Collections之Map&amp;List&amp;Set详解</a></a></li>
    <li><a href="#atomicunsafe魔法类详解httpnoteyoudaocomnoteshareidec6523502c788b78bde6a09e5aed1143subeefba5253783441dbef4ec70debb52a0"><a href="http://note.youdao.com/noteshare?id=ec6523502c788b78bde6a09e5aed1143&amp;sub=EEFBA5253783441DBEF4EC70DEBB52A0">Atomic&amp;Unsafe魔法类详解</a></a></li>
    <li><a href="#executor线程池原理与源码解读httpnoteyoudaocomnoteshareid025bb671c9da378ab0657602870e2817sub6533fe36bfd8459aa4c2554f33988e4c"><a href="http://note.youdao.com/noteshare?id=025bb671c9da378ab0657602870e2817&amp;sub=6533FE36BFD8459AA4C2554F33988E4C">Executor线程池原理与源码解读</a></a></li>
    <li><a href="#定时任务定时线程池httpnoteyoudaocomnoteshareid6478c1160c7e90f95cf64ef939d0cfe8sub67dc071ebaf94500b8edee290e1fe623"><a href="http://note.youdao.com/noteshare?id=6478c1160c7e90f95cf64ef939d0cfe8&amp;sub=67DC071EBAF94500B8EDEE290E1FE623">定时任务&amp;定时线程池</a></a></li>
    <li><a href="#futureforkjoin框架原理分析httpnoteyoudaocomnoteshareidbe19ae9a2275c820496291b821977231sub65c4e52cf6f347fd935db125a940c964"><a href="http://note.youdao.com/noteshare?id=be19ae9a2275c820496291b821977231&amp;sub=65C4E52CF6F347FD935DB125A940C964">Future&amp;ForkJoin框架原理分析</a></a></li>
    <li><a href="#无锁并发框架-disruptorhttpnoteyoudaocomnoteshareidf7204b42a88ecf9352a47d78860421fdsubeba43193af8d4af48482549f76f55f81"><a href="http://note.youdao.com/noteshare?id=f7204b42a88ecf9352a47d78860421fd&amp;sub=EBA43193AF8D4AF48482549F76F55F81">无锁并发框架-Disruptor</a></a></li>
  </ol>
</nav>
        </div>
    </section>

            
        
    </aside>


            <main class="main full-width">
    <article class="main-article">
    <header class="article-header">

    <div class="article-details">
    
    <header class="article-category">
        
            <a href="/categories/java/" >
                Java
            </a>
        
            <a href="/categories/jdk/" >
                Jdk
            </a>
        
            <a href="/categories/%E5%B9%B6%E5%8F%91/" >
                并发
            </a>
        
    </header>
    

    <div class="article-title-wrapper">
        <h2 class="article-title">
            <a href="/p/java%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B-from%E6%9C%89%E9%81%93%E4%BA%91%E7%AC%94%E8%AE%B0/">JAVA并发编程-from有道云笔记</a>
        </h2>
    
        
    </div>

    
    
    
    
    <footer class="article-time">
        
            <div>
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-time" width="56" height="56" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <path d="M11.795 21h-6.795a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v4" />
  <circle cx="18" cy="18" r="4" />
  <path d="M15 3v4" />
  <path d="M7 3v4" />
  <path d="M3 11h16" />
  <path d="M18 16.496v1.504l1 1" />
</svg>
                <time class="article-time--published">Nov 11, 2018</time>
            </div>
        

        
            <div>
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="12" r="9" />
  <polyline points="12 7 12 12 15 15" />
</svg>



                <time class="article-time--reading">
                    1 minute read
                </time>
            </div>
        
    </footer>
    

    
</div>

</header>

    <section class="article-content">
    
    
    <h2 id="操作系统底层工作的整体认识httpnoteyoudaocomnoteshareiddfc6d351a23507db75518b61585070bfsub7351be50fe9141e696f64265d46d7df1">
    <a href="#%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e5%ba%95%e5%b1%82%e5%b7%a5%e4%bd%9c%e7%9a%84%e6%95%b4%e4%bd%93%e8%ae%a4%e8%af%86httpnoteyoudaocomnoteshareiddfc6d351a23507db75518b61585070bfsub7351be50fe9141e696f64265d46d7df1">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=dfc6d351a23507db75518b61585070bf&amp;sub=7351BE50FE9141E696F64265D46D7DF1"  target="_blank" rel="noopener"
    >操作系统底层工作的整体认识</a>
</h2><h2 id="多线程的意义和使用httpnoteyoudaocomnoteshareid417936b7bacfa6f42158da7a3394f4f5sub9f7e10adf5e34cfe87e775e55e7aff7d">
    <a href="#%e5%a4%9a%e7%ba%bf%e7%a8%8b%e7%9a%84%e6%84%8f%e4%b9%89%e5%92%8c%e4%bd%bf%e7%94%a8httpnoteyoudaocomnoteshareid417936b7bacfa6f42158da7a3394f4f5sub9f7e10adf5e34cfe87e775e55e7aff7d">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=417936b7bacfa6f42158da7a3394f4f5&amp;sub=9F7E10ADF5E34CFE87E775E55E7AFF7D"  target="_blank" rel="noopener"
    >多线程的意义和使用</a>
</h2><h2 id="mesi缓存一直协议详解httpnoteyoudaocomnoteshareid8b5b43ddd34924e002f7eef917ed9e03subed0ed32508fb430ab7c397cd976890d4">
    <a href="#mesi%e7%bc%93%e5%ad%98%e4%b8%80%e7%9b%b4%e5%8d%8f%e8%ae%ae%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareid8b5b43ddd34924e002f7eef917ed9e03subed0ed32508fb430ab7c397cd976890d4">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=8b5b43ddd34924e002f7eef917ed9e03&amp;sub=ED0ED32508FB430AB7C397CD976890D4"  target="_blank" rel="noopener"
    >MESI缓存一直协议详解</a>
</h2><h2 id="并发编程带来的挑战httpnoteyoudaocomnoteshareid8af428614036bc7bfd67778a7aac9004sub2b393bdf17304927961ea8006c4279f5">
    <a href="#%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e5%b8%a6%e6%9d%a5%e7%9a%84%e6%8c%91%e6%88%98httpnoteyoudaocomnoteshareid8af428614036bc7bfd67778a7aac9004sub2b393bdf17304927961ea8006c4279f5">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=8af428614036bc7bfd67778a7aac9004&amp;sub=2B393BDF17304927961EA8006C4279F5"  target="_blank" rel="noopener"
    >并发编程带来的挑战</a>
</h2><h2 id="线程基础阶段性总结和扩展httpnoteyoudaocomnoteshareid799bc7811ed04268d0488f56503aa378sub0aa06780832e4ec08930aaca65fa0566">
    <a href="#%e7%ba%bf%e7%a8%8b%e5%9f%ba%e7%a1%80%e9%98%b6%e6%ae%b5%e6%80%a7%e6%80%bb%e7%bb%93%e5%92%8c%e6%89%a9%e5%b1%95httpnoteyoudaocomnoteshareid799bc7811ed04268d0488f56503aa378sub0aa06780832e4ec08930aaca65fa0566">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=799bc7811ed04268d0488f56503aa378&amp;sub=0AA06780832E4EC08930AACA65FA0566"  target="_blank" rel="noopener"
    >线程基础阶段性总结和扩展</a>
</h2><h2 id="理解juc中reentrantlock底层设计httpnoteyoudaocomnoteshareid16a3c4470cf5f0c6634d0b9b33f5a572sub6ace8d522e7f4e478e67d881b16cc940">
    <a href="#%e7%90%86%e8%a7%a3juc%e4%b8%adreentrantlock%e5%ba%95%e5%b1%82%e8%ae%be%e8%ae%a1httpnoteyoudaocomnoteshareid16a3c4470cf5f0c6634d0b9b33f5a572sub6ace8d522e7f4e478e67d881b16cc940">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=16a3c4470cf5f0c6634d0b9b33f5a572&amp;sub=6ACE8D522E7F4E478E67D881B16CC940"  target="_blank" rel="noopener"
    >理解JUC中ReentrantLock底层设计</a>
</h2><h2 id="常见并发工具的使用及原理解析httpnoteyoudaocomnoteshareid95a2a8a07e04ec0e6a3b4dc401eaff6csubc64878595b88400c94a64e67013fb4ec">
    <a href="#%e5%b8%b8%e8%a7%81%e5%b9%b6%e5%8f%91%e5%b7%a5%e5%85%b7%e7%9a%84%e4%bd%bf%e7%94%a8%e5%8f%8a%e5%8e%9f%e7%90%86%e8%a7%a3%e6%9e%90httpnoteyoudaocomnoteshareid95a2a8a07e04ec0e6a3b4dc401eaff6csubc64878595b88400c94a64e67013fb4ec">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=95a2a8a07e04ec0e6a3b4dc401eaff6c&amp;sub=C64878595B88400C94A64E67013FB4EC"  target="_blank" rel="noopener"
    >常见并发工具的使用及原理解析</a>
</h2><h2 id="线程池的基本实现原理httpnoteyoudaocomnoteshareid081ca1044446ee0722425e8928061e3asubd2fc9613297d4fe69d23d6d8b3570750">
    <a href="#%e7%ba%bf%e7%a8%8b%e6%b1%a0%e7%9a%84%e5%9f%ba%e6%9c%ac%e5%ae%9e%e7%8e%b0%e5%8e%9f%e7%90%86httpnoteyoudaocomnoteshareid081ca1044446ee0722425e8928061e3asubd2fc9613297d4fe69d23d6d8b3570750">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=081ca1044446ee0722425e8928061e3a&amp;sub=D2FC9613297D4FE69D23D6D8B3570750"  target="_blank" rel="noopener"
    >线程池的基本实现原理</a>
</h2><h2 id="探索线程安全性背后的本质之volatilehttpnoteyoudaocomnoteshareid0573da55c5f7d98640a529e31bcc5a3fsub0f196c2d941c4a9a8fa080d6886a5d2e">
    <a href="#%e6%8e%a2%e7%b4%a2%e7%ba%bf%e7%a8%8b%e5%ae%89%e5%85%a8%e6%80%a7%e8%83%8c%e5%90%8e%e7%9a%84%e6%9c%ac%e8%b4%a8%e4%b9%8bvolatilehttpnoteyoudaocomnoteshareid0573da55c5f7d98640a529e31bcc5a3fsub0f196c2d941c4a9a8fa080d6886a5d2e">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=0573da55c5f7d98640a529e31bcc5a3f&amp;sub=0F196C2D941C4A9A8FA080D6886A5D2E"  target="_blank" rel="noopener"
    >探索线程安全性背后的本质之volatile</a>
</h2><h2 id="jmmsynchronizedvolatile详解httpnoteyoudaocomnoteshareid32b34fbb56014f104b697b0f9a6635b1sub94a8e961309b434abb7fc6c40f2e3474">
    <a href="#jmmsynchronizedvolatile%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareid32b34fbb56014f104b697b0f9a6635b1sub94a8e961309b434abb7fc6c40f2e3474">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=32b34fbb56014f104b697b0f9a6635b1&amp;sub=94A8E961309B434ABB7FC6C40F2E3474"  target="_blank" rel="noopener"
    >JMM&amp;synchronized&amp;volatile详解</a>
</h2><h2 id="synchronized详解httpnoteyoudaocomnoteshareida90cacc6a4ef78525a5d3ea5fed31b92sub7cc0c1ee24f64b34a5dd8b819d5ed085">
    <a href="#synchronized%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareida90cacc6a4ef78525a5d3ea5fed31b92sub7cc0c1ee24f64b34a5dd8b819d5ed085">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=a90cacc6a4ef78525a5d3ea5fed31b92&amp;sub=7CC0C1EE24F64B34A5DD8B819D5ED085"  target="_blank" rel="noopener"
    >synchronized详解</a>
</h2><h2 id="深入分析阻塞队列以及原子操作等并发工具httpnoteyoudaocomnoteshareide6132e6e34985823202996102c0900afsub18ded72a769149d49516e31b87339a8f">
    <a href="#%e6%b7%b1%e5%85%a5%e5%88%86%e6%9e%90%e9%98%bb%e5%a1%9e%e9%98%9f%e5%88%97%e4%bb%a5%e5%8f%8a%e5%8e%9f%e5%ad%90%e6%93%8d%e4%bd%9c%e7%ad%89%e5%b9%b6%e5%8f%91%e5%b7%a5%e5%85%b7httpnoteyoudaocomnoteshareide6132e6e34985823202996102c0900afsub18ded72a769149d49516e31b87339a8f">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=e6132e6e34985823202996102c0900af&amp;sub=18DED72A769149D49516E31B87339A8F"  target="_blank" rel="noopener"
    >深入分析阻塞队列以及原子操作等并发工具</a>
</h2><h2 id="抽象队列同步器aqs应用lock详解httpnoteyoudaocomnoteshareid77ccc3b07d38ee0bd45ebef777a49aa7subb5b40d5346494022ad1b86115cdb1f6d">
    <a href="#%e6%8a%bd%e8%b1%a1%e9%98%9f%e5%88%97%e5%90%8c%e6%ad%a5%e5%99%a8aqs%e5%ba%94%e7%94%a8lock%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareid77ccc3b07d38ee0bd45ebef777a49aa7subb5b40d5346494022ad1b86115cdb1f6d">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=77ccc3b07d38ee0bd45ebef777a49aa7&amp;sub=B5B40D5346494022AD1B86115CDB1F6D"  target="_blank" rel="noopener"
    >抽象队列同步器AQS应用Lock详解</a>
</h2><h2 id="抽象队列同步器aqs应用之blockingqueue详解httpnoteyoudaocomnoteshareide3bf18850025c4be139e66a2b5b7a8fasub69ac5785225246e1b953e71d30eeeb27">
    <a href="#%e6%8a%bd%e8%b1%a1%e9%98%9f%e5%88%97%e5%90%8c%e6%ad%a5%e5%99%a8aqs%e5%ba%94%e7%94%a8%e4%b9%8bblockingqueue%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareide3bf18850025c4be139e66a2b5b7a8fasub69ac5785225246e1b953e71d30eeeb27">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=e3bf18850025c4be139e66a2b5b7a8fa&amp;sub=69AC5785225246E1B953E71D30EEEB27"  target="_blank" rel="noopener"
    >抽象队列同步器AQS应用之BlockingQueue详解</a>
</h2><h2 id="toolscountdownlatchsemaphore原理与应用httpnoteyoudaocomnoteshareid8d59f7aa91e8c6a203370e2b6aa4f115subfd2b7475469b427e9d0e60298a581ca7">
    <a href="#toolscountdownlatchsemaphore%e5%8e%9f%e7%90%86%e4%b8%8e%e5%ba%94%e7%94%a8httpnoteyoudaocomnoteshareid8d59f7aa91e8c6a203370e2b6aa4f115subfd2b7475469b427e9d0e60298a581ca7">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=8d59f7aa91e8c6a203370e2b6aa4f115&amp;sub=FD2B7475469B427E9D0E60298A581CA7"  target="_blank" rel="noopener"
    >Tools&amp;CountDownLatch&amp;Semaphore原理与应用</a>
</h2><h2 id="concurrenthashmap-的初步使用及场景httpnoteyoudaocomnoteshareid71c9ed6664e9f54166b58a33d4e45504sub1d77388d9014469fba6b9da7c476ed2e">
    <a href="#concurrenthashmap-%e7%9a%84%e5%88%9d%e6%ad%a5%e4%bd%bf%e7%94%a8%e5%8f%8a%e5%9c%ba%e6%99%afhttpnoteyoudaocomnoteshareid71c9ed6664e9f54166b58a33d4e45504sub1d77388d9014469fba6b9da7c476ed2e">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=71c9ed6664e9f54166b58a33d4e45504&amp;sub=1D77388D9014469FBA6B9DA7C476ED2E"  target="_blank" rel="noopener"
    >ConcurrentHashMap 的初步使用及场景</a>
</h2><h2 id="collections之maplistset详解httpnoteyoudaocomnoteshareid748d1ef2e0937ee16016e2edd06d37c1subd6ebec28d3ae4995ac6b81073dcde9ba">
    <a href="#collections%e4%b9%8bmaplistset%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareid748d1ef2e0937ee16016e2edd06d37c1subd6ebec28d3ae4995ac6b81073dcde9ba">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=748d1ef2e0937ee16016e2edd06d37c1&amp;sub=D6EBEC28D3AE4995AC6B81073DCDE9BA"  target="_blank" rel="noopener"
    >Collections之Map&amp;List&amp;Set详解</a>
</h2><h2 id="atomicunsafe魔法类详解httpnoteyoudaocomnoteshareidec6523502c788b78bde6a09e5aed1143subeefba5253783441dbef4ec70debb52a0">
    <a href="#atomicunsafe%e9%ad%94%e6%b3%95%e7%b1%bb%e8%af%a6%e8%a7%a3httpnoteyoudaocomnoteshareidec6523502c788b78bde6a09e5aed1143subeefba5253783441dbef4ec70debb52a0">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=ec6523502c788b78bde6a09e5aed1143&amp;sub=EEFBA5253783441DBEF4EC70DEBB52A0"  target="_blank" rel="noopener"
    >Atomic&amp;Unsafe魔法类详解</a>
</h2><h2 id="executor线程池原理与源码解读httpnoteyoudaocomnoteshareid025bb671c9da378ab0657602870e2817sub6533fe36bfd8459aa4c2554f33988e4c">
    <a href="#executor%e7%ba%bf%e7%a8%8b%e6%b1%a0%e5%8e%9f%e7%90%86%e4%b8%8e%e6%ba%90%e7%a0%81%e8%a7%a3%e8%af%bbhttpnoteyoudaocomnoteshareid025bb671c9da378ab0657602870e2817sub6533fe36bfd8459aa4c2554f33988e4c">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=025bb671c9da378ab0657602870e2817&amp;sub=6533FE36BFD8459AA4C2554F33988E4C"  target="_blank" rel="noopener"
    >Executor线程池原理与源码解读</a>
</h2><h2 id="定时任务定时线程池httpnoteyoudaocomnoteshareid6478c1160c7e90f95cf64ef939d0cfe8sub67dc071ebaf94500b8edee290e1fe623">
    <a href="#%e5%ae%9a%e6%97%b6%e4%bb%bb%e5%8a%a1%e5%ae%9a%e6%97%b6%e7%ba%bf%e7%a8%8b%e6%b1%a0httpnoteyoudaocomnoteshareid6478c1160c7e90f95cf64ef939d0cfe8sub67dc071ebaf94500b8edee290e1fe623">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=6478c1160c7e90f95cf64ef939d0cfe8&amp;sub=67DC071EBAF94500B8EDEE290E1FE623"  target="_blank" rel="noopener"
    >定时任务&amp;定时线程池</a>
</h2><h2 id="futureforkjoin框架原理分析httpnoteyoudaocomnoteshareidbe19ae9a2275c820496291b821977231sub65c4e52cf6f347fd935db125a940c964">
    <a href="#futureforkjoin%e6%a1%86%e6%9e%b6%e5%8e%9f%e7%90%86%e5%88%86%e6%9e%90httpnoteyoudaocomnoteshareidbe19ae9a2275c820496291b821977231sub65c4e52cf6f347fd935db125a940c964">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=be19ae9a2275c820496291b821977231&amp;sub=65C4E52CF6F347FD935DB125A940C964"  target="_blank" rel="noopener"
    >Future&amp;ForkJoin框架原理分析</a>
</h2><h2 id="无锁并发框架-disruptorhttpnoteyoudaocomnoteshareidf7204b42a88ecf9352a47d78860421fdsubeba43193af8d4af48482549f76f55f81">
    <a href="#%e6%97%a0%e9%94%81%e5%b9%b6%e5%8f%91%e6%a1%86%e6%9e%b6-disruptorhttpnoteyoudaocomnoteshareidf7204b42a88ecf9352a47d78860421fdsubeba43193af8d4af48482549f76f55f81">#</a>
    <a class="link" href="http://note.youdao.com/noteshare?id=f7204b42a88ecf9352a47d78860421fd&amp;sub=EBA43193AF8D4AF48482549F76F55F81"  target="_blank" rel="noopener"
    >无锁并发框架-Disruptor</a>
</h2>
</section>


    <footer class="article-footer">
    

    
    <section class="article-copyright">
        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-copyright" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="12" r="9" />
  <path d="M14.5 9a3.5 4 0 1 0 0 6" />
</svg>



        <span>Personal learning records. Please do not reprint.</span>
    </section>
    </footer>


    
</article>

    

    

<aside class="related-content--wrapper">
    <h2 class="section-title">Related content</h2>
    <div class="related-content">
        <div class="flex article-list--tile">
            
                
<article class="">
    <a href="/p/jdk8-optional/">
        
        

        <div class="article-details">
            <h2 class="article-title">JDK8 Optional</h2>
        </div>
    </a>
</article>

            
                
<article class="">
    <a href="/p/%E5%8F%8D%E5%B0%84/">
        
        

        <div class="article-details">
            <h2 class="article-title">反射</h2>
        </div>
    </a>
</article>

            
                
<article class="">
    <a href="/p/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E9%AB%98%E5%B9%B6%E5%8F%91/">
        
        

        <div class="article-details">
            <h2 class="article-title">多线程高并发</h2>
        </div>
    </a>
</article>

            
        </div>
    </div>
</aside>

     
    

    <footer class="site-footer">
    <section class="copyright">
        &copy; 
        
            2017 - 
        
        2024 大国重器
    </section>
    
    <section class="powerby">
        
            Personal learning records. <br/>
        Built with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> <br />
        Theme <b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="3.25.0">Stack</a></b> designed by <a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>
    </section>
</footer>


    
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    
    <div class="pswp__bg"></div>

    
    <div class="pswp__scroll-wrap">

        
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                
                
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div><script 
                src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"integrity="sha256-ePwmChbbvXbsO02lbM3HoHbSHTHFAeChekF1xKJdleo="crossorigin="anonymous"
                defer
                >
            </script><script 
                src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"integrity="sha256-UKkzOn/w1mBxRmLLGrSeyB4e1xbrp4xylgAWb3M42pU="crossorigin="anonymous"
                defer
                >
            </script><link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css"crossorigin="anonymous"
            ><link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css"crossorigin="anonymous"
            >

            </main>
        </div>
        <script 
                src="https://cdn.jsdelivr.net/npm/node-vibrant@3.1.6/dist/vibrant.min.js"integrity="sha256-awcR2jno4kI5X0zL8ex0vi2z&#43;KMkF24hUW8WePSA9HM="crossorigin="anonymous"
                
                >
            </script><script type="text/javascript" src="/ts/main.js" defer></script>
<script>
    (function () {
        const customFont = document.createElement('link');
        customFont.href = "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap";

        customFont.type = "text/css";
        customFont.rel = "stylesheet";

        document.head.appendChild(customFont);
    }());
</script>

    </body>
</html>
